package com.ryskoo.common.dto.cms;

import com.ryskoo.common.constant.CmsParamConstant;
import com.ryskoo.common.dto.BasicDTO;

/**
 * @author renyuting
 * @data 2018-05-03
 */
public class AdvertDTO extends BasicDTO{

	private static final long serialVersionUID = 1893615787890946509L;

	/** 广告名称 */
	private String name;

	/** 广告备注 */
	private String note;

	/** 发布终端：0移动端，1PC端 */
	private String releaseTerminal;

	/** 排序值 */
	private String sortValue;

	/** 发布终端 ---- 中文显示 */
	private String releaseTerminalName;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public String getReleaseTerminal() {
		return releaseTerminal;
	}

	public void setReleaseTerminal(String releaseTerminal) {
		this.releaseTerminal = releaseTerminal;
	}

	public String getSortValue() {
		return sortValue;
	}

	public void setSortValue(String sortValue) {
		this.sortValue = sortValue;
	}

	public String getReleaseTerminalName() {
		return CmsParamConstant.getAdvertReleaseNameByKey(this.releaseTerminal);
	}

	public void setReleaseTerminalName(String releaseTerminalName) {
		this.releaseTerminalName = releaseTerminalName;
	}
}
